import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;


public class DateFun {

	public static String getTransactionControlNumber() {
	    Calendar cal = Calendar.getInstance();
	    DateFormat fmt = new SimpleDateFormat("DDDHHmmss");
	    return fmt.format(cal.getTime());
	      
	  }
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		System.out.println(getTransactionControlNumber());
	}

}
